<template>
	<view class="container">
		<!-- 用药提醒列表区域 -->
		<view class="reminder-list">
			<view class="reminder-item" v-for="(reminder, index) in reminderList" :key="index">
				<view class="reminder-info">
					<text class="reminder-time">{{reminder.time}}</text>
					<text class="reminder-group">{{reminder.group}}</text>
				</view>
				<view class="reminder-detail">
					<button class="detail-btn" size="mini" plain>详情</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				reminderList: [{
					time: '08:00 AM',
					group: '感冒药组合'
				}, {
					time: '12:00 PM',
					group: '维生素组合'
				}]
			}
		}
	}
</script>

<style lang="scss">
.container {
	padding: 20rpx;
	background-color: #f5f5f5;
	min-height: 100vh;
}

// 用药提醒列表区域样式
.reminder-list {
	background-color: #ffffff;
	border-radius: 16rpx;
	padding: 20rpx;
	box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
	
	.reminder-item {
		display: flex;
		align-items: center;
		padding: 20rpx;
		border-bottom: 1rpx solid #f5f5f5;
		
		&:last-child {
			border-bottom: none;
		}
		
		.reminder-info {
			flex: 1;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			
			.reminder-time {
				font-size: 28rpx;
				color: #333;
				margin-bottom: 16rpx;
			}
			
			.reminder-group {
				font-size: 24rpx;
				color: #666;
			}
		}
		
		.reminder-detail {
			.detail-btn {
				font-size: 24rpx;
				color: #2ac2d1;
				border-color: #2ac2d1;
				
				&::after {
					border-color: #2ac2d1;
				}
			}
		}
	}
}
</style> 